package com.jiezhuo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author shuaigesheng
 * @Date 2022 11 05 14 03
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IotAlarmInfoDTO implements Serializable {

    private Integer page;

    private Integer size;

    private Integer status;

    private Integer sceneId;

    private Integer nodeId;

    private Integer sensorId;

    private String triggerName;

    private String sensorName;

    private Integer level;

    /*@DateTimeFormat(pattern = "YYYY-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone = "GMT+8")*/
    private String startTime;

    /*@DateTimeFormat(pattern = "YYYY-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone = "GMT+8")*/
    private String endTime;

}
